<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录&注册</title>
    <!-- 引入layui样式表 -->
    <link rel="stylesheet" href="/assets/lib/layui/css/layui.css">
    <!-- 引入login样式表 -->
    <link rel="stylesheet" href="/assets/css/login.css">
</head>

<body>
    <!-- logo区域 -->
    <div class="layui-main">
        <img src="/assets/images/logo.png" alt="">
    </div>

    <!-- 登录和注册的盒子 -->
    <div class="loginAndRegBox">

        <!-- 登录页面 -->
        <div class="loginBox">
            <!-- 标题标签 -->
            <h1>
                <img src="/assets/images/login_title.png" alt="">
            </h1>
            <form action="" class="layui-form form_login_btn">
                <!-- 用户名 -->
                <div class="layui-form-item">
                    <span class="layui-icon layui-icon-username"></span>
                    <input value="huimowang" type="text" name="username" required lay-verify="required|username"
                        placeholder="请输入用户名" autocomplete="off" class="layui-input">
                </div>
                <!-- 密码 -->
                <div class="layui-form-item">
                    <span class="layui-icon layui-icon-password"></span>
                    <input value="123456" type="text" name="password" required lay-verify="required|pwd"
                        placeholder="请输入密码" autocomplete="off" class="layui-input">
                </div>
                <!-- 按钮 -->
                <div class="layui-form-item">
                    <button class="layui-btn layui-btn-normal login_btn" lay-submit>登录</button>
                </div>
                <!-- 按钮 -->
                <div class="layui-form-item">
                    <a href="javascript:;" class="link_reg">去注册账号</a>
                </div>
            </form>
        </div>

        <!-- 注册页面 -->
        <div class="regBox">
            <!-- 标题标签 -->
            <h1>
                <img src="/assets/images/login_title.png" alt="">
            </h1>
            <form action="" class="layui-form form_reg_btn">
                <!-- 用户名 -->
                <div class="layui-form-item">
                    <span class="layui-icon layui-icon-username"></span>
                    <input type="text" name="username" required lay-verify="required" placeholder="请输入用户名"
                        autocomplete="off" class="layui-input">
                </div>
                <!-- 密码 -->
                <div class="layui-form-item">
                    <span class="layui-icon layui-icon-password"></span>
                    <input type="text" name="password" required lay-verify="required|pwd" placeholder="请输入密码"
                        autocomplete="off" class="layui-input">
                </div>
                <!-- 确认密码 -->
                <div class="layui-form-item">
                    <span class="layui-icon layui-icon-password"></span>
                    <input type="text" name="repassword" required lay-verify="required|repwd" placeholder="请再次输入密码"
                        autocomplete="off" class="layui-input">
                </div>
                <!-- 按钮 -->
                <div class="layui-form-item">
                    <button class="layui-btn layui-btn-normal" lay-submit>注册</button>
                </div>
                <!-- 按钮 -->
                <div class="layui-form-item">
                    <a href="javascript:;" class="link_login">去登录</a>
                </div>
            </form>

        </div>

    </div>
    <!-- 引入layui.all.js -->
    <script src="/assets/lib/layui/layui.all.js"></script>
    <!-- 引入jQuery.js -->
    <script src="/assets/lib/jquery.js"></script>
    <!-- 引入axios.js -->
    <script src="/assets/lib/axios.js"></script>
    <!-- 引入 Common.js -->
    <script src="/assets/js/common.js"></script>
    <!-- 引入login.js -->
    <script src="/assets/js/login.js"></script>
</body>

</html>